﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Model;

namespace ObserverLib
{
    [ServiceContract(CallbackContract = typeof(IMessageCallback))]
    public interface IMailing
    {
        [OperationContract]
        List<Palace> Subscribe(String name);

        [OperationContract(IsOneWay = true)]
        void Unsubscribe();
    }
}
